package com.tyut.homework.service;

import com.tyut.homework.pojo.Registration;
import org.springframework.data.domain.Page;

import java.util.List;

public interface RegistService extends ServiceTemplate<Registration> {
    @Override
    Registration save(Registration registration);

    @Override
    int delete(Integer id);

    @Override
    int update(Registration registration);

    @Override
    Registration find(Integer id);

    @Override
    List<Registration> findAll();

    @Override
    Page<Registration> getPage(Integer pageNum, Integer pageLimit);
}
